<?php
/**
 * 练习题目表
 */
namespace service\vo\practice;

class PracticeSubject
{
    //id
    private int $id;
    //用户id
    private int $userId;
    //练习配置id
    private int $practiceId;
    //习题id
    private int $subjectId;
    //自练译文内容
    private string $translation;
    //添加时间
    private string $addTime;

    /**
     * @return int
     */
    public function getId(): int
    {
        return $this->id;
    }

    /**
     * @param int $id
     */
    public function setId(int $id): void
    {
        $this->id = $id;
    }

    /**
     * @return int
     */
    public function getUserId(): int
    {
        return $this->userId;
    }

    /**
     * @param int $userId
     */
    public function setUserId(int $userId): void
    {
        $this->userId = $userId;
    }

    /**
     * @return int
     */
    public function getPracticeId(): int
    {
        return $this->practiceId;
    }

    /**
     * @param int $practiceId
     */
    public function setPracticeId(int $practiceId): void
    {
        $this->practiceId = $practiceId;
    }

    /**
     * @return int
     */
    public function getSubjectId(): int
    {
        return $this->subjectId;
    }

    /**
     * @param int $subjectId
     */
    public function setSubjectId(int $subjectId): void
    {
        $this->subjectId = $subjectId;
    }

    /**
     * @return string
     */
    public function getTranslation(): string
    {
        return $this->translation;
    }

    /**
     * @param string $translation
     */
    public function setTranslation(string $translation): void
    {
        $this->translation = $translation;
    }

    /**
     * @return string
     */
    public function getAddTime(): string
    {
        return $this->addTime;
    }

    /**
     * @param string $addTime
     */
    public function setAddTime(string $addTime): void
    {
        $this->addTime = $addTime;
    }
}